package com.homegoods.orderinfodetail.event;

import com.homegoods.orderinfodetail.bean.AddressListModel;
import com.homegoods.orderinfodetail.model.AddressModel;

/**
 * @author QiQi
 * @ClassName: EditAddressEvent
 * @date 2018/10/3
 * @description
 */
public class EditAddressEvent {

    /**
     * 是否编辑模式
     */
    public boolean isEdit;
    /**
     * 在列表中的位置
     */
    public int index;
    /**
     * 具体收货地址信息
     */
    public AddressListModel addressModel;

    public EditAddressEvent(boolean isEdit, int index, AddressListModel addressModel) {
        this.isEdit = isEdit;
        this.index = index;
        this.addressModel = addressModel;
    }
}
